<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>教师审核不通过通知</title>
    <style>
        body {
            font-family: 'Microsoft YaHei', Arial, sans-serif;
            color: #333;
            line-height: 1.6;
            padding: 20px;
        }
        .container {
            max-width: 650px;
            margin: 0 auto;
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 20px;
        }
        .header {
            background-color: #3f51b5;
            color: white;
            padding: 10px 20px;
            border-radius: 5px 5px 0 0;
            margin: -20px -20px 20px;
        }
        .content {
            padding: 0 20px;
        }
        .footer {
            margin-top: 30px;
            padding-top: 15px;
            border-top: 1px solid #ddd;
            font-size: 12px;
            color: #777;
            text-align: center;
        }
        h2 {
            color: #333;
        }
        .review-comment {
            background-color: #e8eaf6;
            padding: 15px;
            border-radius: 5px;
            margin: 15px 0;
            white-space: pre-line;
            border-left: 4px solid #3f51b5;
        }
        .button {
            display: inline-block;
            background-color: #3f51b5;
            color: white;
            text-decoration: none;
            padding: 10px 20px;
            border-radius: 4px;
            margin-top: 20px;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>教师审核结果通知</h1>
        </div>
        <div class="content">
            <p>尊敬的 <strong th:text="${studentName}">学生姓名</strong>：</p>
            
            <p>您好！您提交的任务 <strong th:text="${taskName}">任务名称</strong> 未通过教师审核。</p>
            
            <h2>审核意见</h2>
            <div class="review-comment" th:text="${reason}">审核意见</div>
            
            <p>请根据教师的审核意见修改您的提交内容，并尽快重新提交。</p>
            
            <p>如有任何疑问，请直接联系您的任课教师。</p>
            
<!--            <a th:href="${submissionUrl}" class="button">查看详情并重新提交</a>-->
            
            <p>祝学习愉快！</p>
            <p th:text="${systemName}">高校文件收集系统</p>
        </div>
        <div class="footer">
            <p>此邮件由系统自动发送，请勿直接回复。</p>
            <p>发送时间：<span th:text="${#dates.format(#dates.createNow(), 'yyyy-MM-dd HH:mm:ss')}">发送时间</span></p>
        </div>
    </div>
</body>
</html> 